Fix javadoc syntax Fix javadoc syntax by wrap `<` into an inline code block. ``` [WARNING] ...\google-java-format\core\src\main\java\com\google\googlejavaformat\java\JavaInputAstVisitor.java:2577: warning - invalid usage of tag < ``` Fixes #454 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/google-java-format/pull/454 from sormuras:patch-1 f5583c7cfea178a6475cd39510e366cc6694bb78 PiperOrigin-RevId: 309364827
diff --git a/core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java b/core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java index 4ff563e..6ce0f66 100644 --- a/core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java +++ b/core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java
@@ -2585,7 +2585,7 @@ typeWithDims); } - /** Does not omit the leading '<', which should be associated with the type name. */ + /** Does not omit the leading {@code "<"}, which should be associated with the type name. */ protected void typeParametersRest( List<? extends TypeParameterTree> typeParameters, Indent plusIndent) { builder.open(plusIndent);